package com.aaa.behind.service.impl;

import com.aaa.behind.dao.UUserInfoMapper;
import com.aaa.behind.service.IUUserInfoService;
import com.aaa.entity.UUserInfo;
import com.aaa.util.PageInfo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author whj
 * @since 2023-01-30
 */
@Service
public class UUserInfoServiceImpl extends ServiceImpl<UUserInfoMapper, UUserInfo> implements IUUserInfoService {



    @Autowired
    private UUserInfoMapper userInfoMapper;


    @Override
    public IPage getPageData(PageInfo page, UUserInfo userInfo,String startTime,String endTime) {
        IPage all = userInfoMapper.findAll(page, userInfo,startTime,endTime);
        return all;
    }
}
